package com.busines.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.busines.dao.mep.IMepLogicCodeDao;
import com.busines.dao.xunting.IUserBasicInfoDao;
import com.busines.service.IMepService;

@Transactional
@Service("mepService")
public class MepServiceImpl implements IMepService{

	@Resource(name="mepLogicCodeDao")
	private IMepLogicCodeDao mepLogicCodeDao; 
	
	@Resource(name="userBasicInfoDao")
	private IUserBasicInfoDao userBasicInfoDao;
	
	@Override
	public int countMep() {
		return mepLogicCodeDao.countByExample(null);
	}

	@Override
	public int countXunting() {
		return userBasicInfoDao.countByExample(null);
	}

}
